package cn.desk.user.service;

import cn.desk.commons.service.IBaseService;
import cn.desk.user.entity.Menu;
import cn.desk.user.entity.User;

public interface IMenuService<T extends Menu> extends IBaseService<T> {
	/**
	 * 取得当前用户满足t的菜单
	 * 
	 * @param u
	 * @param t
	 * @return 返回用户的menu对象
	 */
	T loadByUserAndParent(User u, T t);
}
